package com.th.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author ErrorRua
 * @date 2023/06/25
 * @description:
 */
@Data
@ApiModel("用户站内信表")
@TableName("us_internal_message")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class UsInternalMessage {

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("消息标题")
    private String messageTitle;

    @ApiModelProperty("消息内容")
    private String messageContent;

    @ApiModelProperty("消息类型")
    private String messageType;

    @ApiModelProperty("消息状态")
    private Short status;

    @ApiModelProperty("创建时间")
    private Date createTime;


}
